//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.wsd.smartcarwasher.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel("设备")
public class Machine {
    @ApiModelProperty("设备id")
    private Integer id;
    @ApiModelProperty("设备名称")
    private String name;
    @ApiModelProperty("设备状态")
    private Integer status;
    @ApiModelProperty("工作状态")
    private Integer workState;
    @ApiModelProperty("排队人数")
    private Integer waitingCount;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("区/县")
    private String region;
    @ApiModelProperty("详细地址")
    private String address;
    @ApiModelProperty("纬度，范围为 -90~90，负数表示南纬")
    private Double latitude;
    @ApiModelProperty("经度，范围为 -180~180，负数表示西经")
    private Double longitude;
    @ApiModelProperty("站点图片地址")
    private String imgUrl;
    @ApiModelProperty("服务时间段")
    private String wxCodeUrl;
    @ApiModelProperty("服务时间段")
    private String serviceTime;
    @ApiModelProperty("订单分成比例")
    private BigDecimal profitRatio;
    @ApiModelProperty("机器在线状态")
    private Integer online;
    @ApiModelProperty("门店id")
    private Integer storeId;
    @ApiModelProperty("价格ids")
    private String priceIds;
    @ApiModelProperty("运营商id")
    private Integer partnerId;
    @ApiModelProperty("是否为直营店 0为直营店，1为加盟店")
    private String isDirect;
    @ApiModelProperty("白天 园区指引富文本")
    private String dayDes;

    @ApiModelProperty("黑夜 园区指引富文本")
    private String nightDes;

    @ApiModelProperty("暂停服务原因")
    private String stopDes;

    @ApiModelProperty("暂停服务恢复时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recoveryTime;
    @ApiModelProperty("设备是否运营")
    private int is_operate;

    @ApiModelProperty("萤石摄像头编码")
    private String cameraCode;


    @ApiModelProperty("萤石摄像头展位")
    private Integer cameraPosition;

    public Integer getCameraPosition() {
        return cameraPosition;
    }

    public void setCameraPosition(Integer cameraPosition) {
        this.cameraPosition = cameraPosition;
    }

    public String getCameraCode() {
        return cameraCode;
    }

    public void setCameraCode(String cameraCode) {
        this.cameraCode = cameraCode;
    }

    //会员卡使用时段
    private String card_is_use_time;

    public String getCard_is_use_time() {
        return card_is_use_time;
    }

    public void setCard_is_use_time(String card_is_use_time) {
        this.card_is_use_time = card_is_use_time;
    }

    public int getIs_operate() {
        return is_operate;
    }

    public void setIs_operate(int is_operate) {
        this.is_operate = is_operate;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getPriceIds() {
        return priceIds;
    }

    public void setPriceIds(String priceIds) {
        this.priceIds = priceIds;
    }

    public String getIsDirect() {
        return isDirect;
    }

    public void setIsDirect(String isDirect) {
        this.isDirect = isDirect;
    }

    //
    private double distance;

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    private double distanceByKM;

    private Partner partner;

    public Partner getPartner() {
        return partner;
    }

    public void setPartner(Partner partner) {
        this.partner = partner;
    }

    public double getDistanceByKM() {
        return distanceByKM;
    }

    public void setDistanceByKM(double distanceByKM) {
        this.distanceByKM = distanceByKM;
    }

    public String getStopDes() {
        return stopDes;
    }

    public void setStopDes(String stopDes) {
        this.stopDes = stopDes;
    }

    public Date getRecoveryTime() {
        return recoveryTime;
    }

    public void setRecoveryTime(Date recoveryTime) {
        this.recoveryTime = recoveryTime;
    }

    public String getDayDes() {
        return dayDes;
    }

    public void setDayDes(String dayDes) {
        this.dayDes = dayDes;
    }

    public String getNightDes() {
        return nightDes;
    }

    public void setNightDes(String nightDes) {
        this.nightDes = nightDes;
    }

    public Machine() {
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getWorkState() {
        return this.workState;
    }

    public void setWorkState(Integer workState) {
        this.workState = workState;
    }

    public Integer getWaitingCount() {
        return this.waitingCount;
    }

    public void setWaitingCount(Integer waitingCount) {
        this.waitingCount = waitingCount;
    }

    public String getProvince() {
        return this.province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return this.city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getRegion() {
        return this.region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLatitude() {
        return this.latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return this.longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public String getImgUrl() {
        return this.imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getServiceTime() {
        return this.serviceTime;
    }

    public void setServiceTime(String serviceTime) {
        this.serviceTime = serviceTime;
    }

    public String getWxCodeUrl() {
        return this.wxCodeUrl;
    }

    public void setWxCodeUrl(String wxCodeUrl) {
        this.wxCodeUrl = wxCodeUrl;
    }

    public BigDecimal getProfitRatio() {
        return this.profitRatio;
    }

    public void setProfitRatio(BigDecimal profitRatio) {
        this.profitRatio = profitRatio;
    }

    public Integer getOnline() {
        return this.online;
    }

    public void setOnline(int online) {
        this.online = online;
    }

    public Integer getPartnerId() {
        return this.partnerId;
    }

    public void setPartnerId(Integer partnerId) {
        this.partnerId = partnerId;
    }
}
